import request from '@/utils/request'

// 获取管理列表
export const getManageList = (data) => {
  return request({
    url: '/admin/userList',
    method: 'get',
    params: data
  })
}

// 更改用户角色
export const updateManage = (data) => {
  return request({
    url: '/admin/changeRole',
    method: 'post',
    data
  })
}
